package ooday01;

public class Car {
    String brand;
    String color;
    Double price;

    Car(){
    }
    Car (String brand,String color,Double price){

    this.brand=brand;
    this.color=color;
    this.price=price;
    }

    void start(){
        System.out.println(brand+"Honda牌车"+color+"色"+price+"元的车在启动");
    }
    void run(){
        System.out.println(brand+"Honda牌车"+color+"色"+price+"元的车在高速上跑");
    }
    void stop(){
        System.out.println(brand+"Honda牌车"+color+"色"+price+"元的车在花园庄小区停下");
    }

}
